package com.neusoft.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 后台菜单表(UmsMenu)实体类
 *
 * @author makejava
 * @since 2020-11-05 15:19:22
 */
public class UmsMenu implements Serializable {

    private Long id;
    /**
     * 父级ID
     */
    private Long parentId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 菜单名称
     */
    private String title;
    /**
     * 菜单级数
     */
    private Integer level;
    /**
     * 菜单排序
     */
    private Integer sort;
    /**
     * 前端名称
     */
    private String name;
    /**
     * 前端图标
     */
    private String icon;
    /**
     * 前端隐藏
     */
    private Integer hidden;

    private List<UmsMenu> umsMenuList;

    public List<UmsMenu> getUmsMenuList() {
        return umsMenuList;
    }

    public UmsMenu setUmsMenuList(List<UmsMenu> umsMenuList) {
        this.umsMenuList = umsMenuList;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getHidden() {
        return hidden;
    }

    public void setHidden(Integer hidden) {
        this.hidden = hidden;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("UmsMenu{");
        sb.append("id=").append(id);
        sb.append(", parentId=").append(parentId);
        sb.append(", createTime=").append(createTime);
        sb.append(", title='").append(title).append('\'');
        sb.append(", level=").append(level);
        sb.append(", sort=").append(sort);
        sb.append(", name='").append(name).append('\'');
        sb.append(", icon='").append(icon).append('\'');
        sb.append(", hidden=").append(hidden);
        sb.append(", umsMenuList=").append(umsMenuList);
        sb.append('}');
        return sb.toString();
    }
}